import { defineStore } from 'pinia'
const state = () => ({
  currentHouse: {}
})

const actions = {
  setCurrentHouse(house) {
    this.currentHouse = house
  },
  removeCurrentHouse() {
    this.currentHouse = {}
  }
}
export const useHouseStore = defineStore('house', {
  state,
  actions
})
